widget-factory: Make one switch start out active
authorMatthias Clasen <mclasen@redhat.com>
Mon, 4 Aug 2014 08:12:19 +0000 (10:12 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 4 Aug 2014 10:28:01 +0000 (12:28 +0200)
This nicely shows off
https://bugzilla.gnome.org/show_bug.cgi?id=734213

demos/widget-factory/widget-factory.ui

index e675fd4a3852daf4a1b87a0a2480857b369df2ab..6db986c9e7779f5cc5ca53b84ff15697ad37d98f 100644 (file)
@@ -2204,6 +2204,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                                         <child>
                                           <object class="GtkSwitch">
                                             <property name="visible">True</property>
+                                            <property name="active">True</property>
                                             <property name="halign">end</property>
                                             <property name="valign">center</property>
                                             <property name="margin-top">6</property>